package com.bnyy.medicalHousekeeper.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Author : 关炳鹏
 * Description :
 * Date : 2023/2/3
 **/
public class IndexData implements Serializable {

    private int housekeeper_id;
    private double withdrawal_money;
    private double frozen_money;
    private double total_money;
    @SerializedName("res_list")
    private ArrayList<Data> datas;

    public int getHousekeeper_id() {
        return housekeeper_id;
    }

    public void setHousekeeper_id(int housekeeper_id) {
        this.housekeeper_id = housekeeper_id;
    }

    public double getWithdrawal_money() {
        return withdrawal_money;
    }

    public void setWithdrawal_money(double withdrawal_money) {
        this.withdrawal_money = withdrawal_money;
    }

    public double getFrozen_money() {
        return frozen_money;
    }

    public void setFrozen_money(double frozen_money) {
        this.frozen_money = frozen_money;
    }

    public double getTotal_money() {
        return total_money;
    }

    public void setTotal_money(double total_money) {
        this.total_money = total_money;
    }

    public ArrayList<Data> getDatas() {
        return datas;
    }

    public void setDatas(ArrayList<Data> datas) {
        this.datas = datas;
    }

    public static class Data implements Serializable {
        @SerializedName("detail_list")
        private ArrayList<Type> types;

        public ArrayList<Type> getTypes() {
            return types;
        }

        public void setTypes(ArrayList<Type> types) {
            this.types = types;
        }

        public static class Type implements Serializable{
            private String tag_name;

            /**
             * 1 图文分享
             * 2 商品列表
             * 3 新品
             * 4 健康异常
             * 5 下级医养管家
             * 6 商家列表
             * 7 用户列表
             */
            @SerializedName("tag_type")
            private int type;
            @SerializedName("public_list")
            private ArrayList<Object> items;

            public String getTag_name() {
                return tag_name;
            }

            public void setTag_name(String tag_name) {
                this.tag_name = tag_name;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public ArrayList<Object> getItems() {
                return items;
            }

            public void setItems(ArrayList<Object> items) {
                this.items = items;
            }
        }
    }
}
